package model.os;

public class PageTableEntry {

	private int pageFrameNumber;

	private boolean referenced;

	private boolean valid;

	public PageTableEntry() {
		this(-1, false, false);
	}

	public PageTableEntry(int pageFrameNumber, boolean referenced, boolean valid) {
		this.pageFrameNumber = pageFrameNumber;
		this.referenced = referenced;
		this.valid = valid;
	}

	public int getPageFrameNumber() {
		return pageFrameNumber;
	}

	public void setPageFrameNumber(int pageFrameNumber) {
		this.pageFrameNumber = pageFrameNumber;
	}

	public boolean isReferenced() {
		return referenced;
	}

	public void setReferenced(boolean referenced) {
		this.referenced = referenced;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

}
